﻿#region

using System;
using System.Collections.Generic;

#endregion


namespace OMS.Ice.T4Generator
{
    [Serializable]
    public class T4CompilerException : T4Exception
    {
        public T4CompilerException( string message, IList<string> errors, string generatedCode, string codeBehind )
            : base( message )
        {
            Errors = errors;
            GeneratedCode = generatedCode;
            CodeBehind = codeBehind;
        }

        public IList<string> Errors { get; private set; }

        public string GeneratedCode { get; private set; }

        public string CodeBehind { get; private set; }
    }
}